package com.his.registration.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @BelongsProject: workspace-idea
 * @BelongsPackage: com.his.registration.mapper
 * @Author: ZhangYing
 * @Date: 2023/7/1 19:04
 * @Description:
 */
@Mapper
public interface EmployeeMapper {
    //根据name得到id
    @Select("select id from employee where realname=#{employeeName}")
    public int getIdByName(String employeeName);
}
